package com.gistone.commis.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;


import java.util.Date;
/**
 * Created by wangfan on 2017/5/12.
 */
@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class FWage {
    private Integer fwageId;

    private Integer communityId;
    private Community community;

    private Integer departId;
    private  Depart depart;

    private Integer userId;
    private  User user;

    private Integer personId;

    private String personName;

    private Double postSalary;

    private Double espSub;

    private Double tecSalary;

    private Double workSub;

    private Double existSub;

    private Double monthBonus;

    private Double perBonus;

    private Double backPay;

    private Double leaveDed;

    private Double sumWage;

    private Integer wageMonth;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date registerTime;

    private String reserveA;

    private String reserveB;

    private Integer wageYear;

    public FWage(Integer fwageId, Integer communityId, Integer departId, Integer userId, Integer personId, String personName, Double postSalary, Double espSub, Double tecSalary, Double workSub, Double existSub, Double monthBonus, Double perBonus, Double backPay, Double leaveDed, Double sumWage, Integer wageMonth, Date registerTime, String reserveA, String reserveB, Integer wageYear) {
        this.fwageId = fwageId;
        this.communityId = communityId;
        this.departId = departId;
        this.userId = userId;
        this.personId = personId;
        this.personName = personName;
        this.postSalary = postSalary;
        this.espSub = espSub;
        this.tecSalary = tecSalary;
        this.workSub = workSub;
        this.existSub = existSub;
        this.monthBonus = monthBonus;
        this.perBonus = perBonus;
        this.backPay = backPay;
        this.leaveDed = leaveDed;
        this.sumWage = sumWage;
        this.wageMonth = wageMonth;
        this.registerTime = registerTime;
        this.reserveA = reserveA;
        this.reserveB = reserveB;
        this.wageYear = wageYear;
    }


}